﻿using MP_Game.Protos.V1;
using MP_Network;

namespace MP_DatabaseServer
{
    internal class DatabaseServer
    {
        static void Main(string[] args)
        {
            //NetClient client = new NetClient(NetConst.IPHost, NetConst.VerifyServerPort, CliType.DataBaseServer);
            //client.StartConnect();

            NetServer server = new NetServer("数据库服务器", client);
            server.StartServer(NetConst.IPHost, NetConst.DatabaseServerPort);

            while (true)
            {
                Thread.Sleep(1);
            }
        }
    }
}
